package com.gljx.web.service;

import com.gljx.web.Entity.TrainingCharge;
import com.gljx.web.Entity.TrainingChargeEntry;
import com.gljx.web.Entity.User;

import java.util.List;
import java.util.Map;

public interface TrainingChargeService {

	Map<String, Object> selectPage(int pindex, String psql, int psize);

	Map<String, Object> selectPageCount(String psql);
	
	List<TrainingChargeEntry> quertTrainingChargeEntryByInfo(String parentId,String drivingName,String cfcar);

	void editTrainingCharge(TrainingCharge trainingCharge, String[] fseq, String[] cfcar, String[] cfcartype,
			String[] cfjiaxiaoid, String[] cftime, String[] cffandian, String[] cfzsc, String[] cfprice,
			String[] cfamount, String[] cfnumber, String[] cfremark,User user,String time);

	void deleteTrainingChargeByFid(String[] deleteId, String fid);
	
	TrainingCharge queryTrainingByFid(String fid);

	int auditTrainingCharge(String fid, String type,String fhandlerId);

	TrainingChargeEntry selTrainingChargeByCar(String car, String userSession);

    List<TrainingChargeEntry> selTrainingChargeByCar(String fcompanyid, String trim, String trim1, String beginTime, String endTime);
}
